package com.hksj.Intelligentmanagement.auth.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 角色表
 * @author chenxingqing
 */
@Data
@ApiModel("角色VO")
public class RoleVo implements Serializable{

    @ApiModelProperty(value = "角色权限id")
    private String id;

    @ApiModelProperty(value = "角色权限名称")
    private String name;

    @ApiModelProperty(value = "角色权限字符串")
    private String roleKey;

    @ApiModelProperty(value = "角色状态（0正常 1停用）")
    private String status;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "类型 0 = 系统类型（不可删除） 1 = 用户类型（可删除）")
    private Integer type;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "角色对应的权限树")
    private List<MenuVo> menus;

}
